package com.sinosoft.zyemr.manager.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.sinosoft.zyemr.dao.PatientEntityMapper;
import com.sinosoft.zyemr.entity.PatientEntity;
import com.sinosoft.zyemr.manager.PatientManager;


@Component
public class PatientManagerImpl implements PatientManager {
	@Autowired
	private PatientEntityMapper patientmapper;
	
	/**
     * 增加病人信息
     * @param patient
     * @return
     */
    public int insertSelective(PatientEntity patient){
    	return patientmapper.insertSelective(patient);
    }
	
	
}
